<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="Cache-Control" content="No-Cache">
	<meta http-equiv="Pragma" content="No-Cache">

	<title>운세의 신</title>

	<link rel="stylesheet" type="text/css" href="/css/common.css">
	<link rel="stylesheet" type="text/css" href="/css/sub.css">
	<link rel="stylesheet" type="text/css" href="/css/result.css"/>

	<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
	<script src="/js/common_result.js" type="text/javascript"></script>
	<script src="/js/snsLinker.js" type="text/javascript"></script>

</head>
<body>
<input type="hidden" id="result_sex" value="<?=$member['sex']?>" />
<div id="wrap">
	<!-- Header -->
	<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/commons/main_header.php'; ?>
	<!--// Header -->

	<!--커튼 데코레이션-->
	<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/commons/drape.php'; ?>
	<!--//커튼 데코레이션-->
	
	<!--컨텐츠-->
	<div id="content">
		<!--휘장-->
		<div class="keybox1">
		</div>
		
		<!--왼쪽 컨텐츠-->
		<div class="assistant">
			<!--왼쪽 메뉴-->
			<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/commons/inc_lnb.php'; ?>
			<!--// 왼쪽 메뉴-->
			
			<!--추천테마-->
			<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/static/theme.php'; ?>
			<!--//추천테마-->
			
			<!--오늘의 추천! 무료운세-->
			<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/static/free.php'; ?>
			<!--//오늘의 추천! 무료운세-->

			<!--회원배너-->
			<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/static/member_join.php'; ?>
			<!--//회원배너-->
		</div>
		<!--//왼쪽 컨텐츠-->

		<!-- 메인컨텐츠-->
		<div class="cont">
			<div class="tojung_box">
				<!--키비쥬얼-->
				<p><img src="/images/sub/tojung/result_tojung_kv_<?=$_GET['year']?>.png" /></p>
				<!--//키비쥬얼-->
				<p class="start"><Img src="/images/sub/tojung/result_tojung_start.png" alt="토정비결을 보기전에" /></p>
				
				<!-- 소개/사주명식/오행분석-->
				<?php echo $INC_SAJUMS; ?>
				<!--//자기소개/사주명식/오행분석-->

				<!--탭-->
				<div class="tab">
					<ul>
						<li><img src="/images/sub/tojung/tab_01.png" /></li>
						<li><a href="#tojung1"><img src="/images/sub/tojung/tab_02.png" /></a></li>
						<li><a href="#tojung2"><img src="/images/sub/tojung/tab_03.png" /></a></li>
						<li><a href="#tojung3"><img src="/images/sub/tojung/tab_04.png" /></a></li>
						<li><a href="#tojung4"><img src="/images/sub/tojung/tab_05.png" /></a></li>
						<li><img src="/images/sub/tojung/tab_06.png" /></li>
					</ul>
				</div>
				<!--//탭-->
				<!--올해의 종합운-->
				<div class="tojung_cont">
					
					<dl>
						<p class="name"><em><?=$member['user_name']?></em><em class="year"><?=$_GET['year']?></em></p>
						<dt><a name="tojung1"></a><img src="/images/sub/tojung/result_tit_01.gif" alt="올해의 종합운" /></dt>
						
						<dd>
							<ul>
								<li><?=$contents['S103']['db_data']; ?></li>
								<li><?=$contents['S103']['data1']; ?></li>
								<li><?=$contents['S103']['data2']; ?></li>
								<li><?=$contents['S103']['data3']; ?></li>
								<li><?=$contents['S103']['data4']; ?></li>
								<li><?=$contents['S103']['data5']; ?></li>
								
							</ul>
						</dd>
					</dl>
			   </div>
			   <p class="botline"><img src="/images/sub/tojung/result_cont_bottom.gif" /></p>
			   <!--//올해의 종합운-->
			   <!--월별운겨울-->
			   <p class="season" ><a name="tojung2"></a><img src="/images/sub/tojung/tab_tle01.png" alt="겨울" /></p>
			   <!--탭-->
				<div class="tab">
					<ul>
						<li><img src="/images/sub/tojung/tab_01.png" /></li>
						<li><a href="#tojung1"><img src="/images/sub/tojung/tab_02.png" /></a></li>
						<li><a href="#tojung2"><img src="/images/sub/tojung/tab_03.png" /></a></li>
						<li><a href="#tojung3"><img src="/images/sub/tojung/tab_04.png" /></a></li>
						<li><a href="#tojung4"><img src="/images/sub/tojung/tab_05.png" /></a></li>
						<li><img src="/images/sub/tojung/tab_06-1.png" /></li>
					</ul>
				</div>
				<!--//탭-->
				<div class="tojung_cont">
					<dl>
					
						<dd>
							<ul>
								<li><img src="/images/sub/tojung/mon_12.png" alt="12월" /><em><?=$last_year_month['S110']['data12']; ?></em></li>
								<li><img src="/images/sub/tojung/mon_1.png" alt="1월" /><em><?=$contents['S110']['data1']; ?></em></li>
								<li><img src="/images/sub/tojung/mon_2.png" alt="2월" /><em><?=$contents['S110']['data2']; ?></em></li>
							</ul>
						</dd>
					</dl>
				  </div>
				  <p class="botline"><img src="/images/sub/tojung/result_cont_bottom.gif" /></p>
				<!--//월별운겨울-->
				<!--월별운봄-->
			   <p class="season"><img src="/images/sub/tojung/tab_tle02.png" alt="봄" /></p>
			   <!--탭-->
				<div class="tab">
					<ul>
						<li><img src="/images/sub/tojung/tab_01.png" /></li>
						<li><a href="#tojung1"><img src="/images/sub/tojung/tab_02.png" /></a></li>
						<li><a href="#tojung2"><img src="/images/sub/tojung/tab_03.png" /></a></li>
						<li><a href="#tojung3"><img src="/images/sub/tojung/tab_04.png" /></a></li>
						<li><a href="#tojung4"><img src="/images/sub/tojung/tab_05.png" /></a></li>
						<li><img src="/images/sub/tojung/tab_06-1.png" /></li>
					</ul>
				</div>
				<!--//탭-->
				<div class="tojung_cont">
					<dl>
						<dd>
							
							<ul>
								<li><img src="/images/sub/tojung/mon_3.png" alt="3월" /><em><?=$contents['S110']['data3']; ?></em></li>
						   		<li><img src="/images/sub/tojung/mon_4.png" alt="4월" /><em><?=$contents['S110']['data4']; ?></em></li>
								<li><img src="/images/sub/tojung/mon_5.png" alt="5월" /><em><?=$contents['S110']['data5']; ?></em></li>
								
							</ul>
							
						</dd>
					</dl>
				  </div>
				  <p class="botline"><img src="/images/sub/tojung/result_cont_bottom.gif" /></p>
				<!--//월별운봄-->
				 <!--월별운여름-->
			   <p class="season"><img src="/images/sub/tojung/tab_tle03.png" alt="여름" /></p>
			   <!--탭-->
				<div class="tab">
					<ul>
						<li><img src="/images/sub/tojung/tab_01.png" /></li>
						<li><a href="#tojung1"><img src="/images/sub/tojung/tab_02.png" /></a></li>
						<li><a href="#tojung2"><img src="/images/sub/tojung/tab_03.png" /></a></li>
						<li><a href="#tojung3"><img src="/images/sub/tojung/tab_04.png" /></a></li>
						<li><a href="#tojung4"><img src="/images/sub/tojung/tab_05.png" /></a></li>
						<li><img src="/images/sub/tojung/tab_06-1.png" /></li>
					</ul>
				</div>
				<!--//탭-->
				<div class="tojung_cont">
					<dl>
						<dd>
							<ul>
								<li><img src="/images/sub/tojung/mon_6.png" alt="6월" /><em><?=$contents['S110']['data6']; ?></em></li>
						   		<li><img src="/images/sub/tojung/mon_7.png" alt="7월" /><em><?=$contents['S110']['data7']; ?></em></li>
								<li><img src="/images/sub/tojung/mon_8.png" alt="8월" /><em><?=$contents['S110']['data8']; ?></em></li>
								
							</ul>
							
						</dd>
					</dl>
				  </div>
				  <p class="botline"><img src="/images/sub/tojung/result_cont_bottom.gif" /></p>
				<!--//월별운여름-->
				<!--월별운가을-->
			   <p class="season"><img src="/images/sub/tojung/tab_tle04.png" alt="가을" /></p>
			   <!--탭-->
				<div class="tab">
					<ul>
						<li><img src="/images/sub/tojung/tab_01.png" /></li>
						<li><a href="#tojung1"><img src="/images/sub/tojung/tab_02.png" /></a></li>
						<li><a href="#tojung2"><img src="/images/sub/tojung/tab_03.png" /></a></li>
						<li><a href="#tojung3"><img src="/images/sub/tojung/tab_04.png" /></a></li>
						<li><a href="#tojung4"><img src="/images/sub/tojung/tab_05.png" /></a></li>
						<li><img src="/images/sub/tojung/tab_06-1.png" /></li>
					</ul>
				</div>
				<!--//탭-->
				<div class="tojung_cont">
					<dl>
						<dd>
							<ul>
								<li><img src="/images/sub/tojung/mon_9.png" alt="9월" /><em><?=$contents['S110']['data9']; ?></em></li>
						   		<li><img src="/images/sub/tojung/mon_10.png" alt="10월" /><em><?=$contents['S110']['data10']; ?></em></li>
								<li><img src="/images/sub/tojung/mon_11.png" alt="11월" /><em><?=$contents['S110']['data11']; ?></em></li>
							</ul>
							
						</dd>
					</dl>
				  </div>
				  <p class="botline"><img src="/images/sub/tojung/result_cont_bottom.gif" /></p>
				<!--//월별운가을-->
			   <!--월별운익년겨울-->
			   <p class="season"><img src="/images/sub/tojung/tab_tle05.png" alt="익년겨울" /></p>
			   <!--탭-->
				<div class="tab">
					<ul>
						<li><img src="/images/sub/tojung/tab_01.png" /></li>
						<li><a href="#tojung1"><img src="/images/sub/tojung/tab_02.png" /></a></li>
						<li><a href="#tojung2"><img src="/images/sub/tojung/tab_03.png" /></a></li>
						<li><a href="#tojung3"><img src="/images/sub/tojung/tab_04.png" /></a></li>
						<li><a href="#tojung4"><img src="/images/sub/tojung/tab_05.png" /></a></li>
						<li><img src="/images/sub/tojung/tab_06-1.png" /></li>
					</ul>
				</div>
				<!--//탭-->
				<div class="tojung_cont">
					<dl>
						<dd>
							<ul>
								<li><img src="/images/sub/tojung/mon_12_1.png" alt="12월" /><em><?=$contents['S110']['data12']; ?></em></li>
						   		<li><img src="/images/sub/tojung/mon_1_1.png" alt="1월" /><em><?=$next_year_month['S110']['data1']; ?></em></li>
								<li><img src="/images/sub/tojung/mon_2_1.png" alt="2월" /><em><?=$next_year_month['S110']['data2']; ?></em></li>
							</ul>
							
						</dd>
					</dl>
				  </div>
				  <p class="botline"><img src="/images/sub/tojung/result_cont_bottom.gif" /></p>
				<!--//월별운익년겨울-->
				<!--종합풀이-->
				 <!--탭-->
				<div class="tab">
					<ul>
						<li><img src="/images/sub/tojung/tab_01.png" /></li>
						<li><a href="#tojung1"><img src="/images/sub/tojung/tab_02.png" /></a></li>
						<li><a href="#tojung2"><img src="/images/sub/tojung/tab_03.png" /></a></li>
						<li><a href="#tojung3"><img src="/images/sub/tojung/tab_04.png" /></a></li>
						<li><a href="#tojung4"><img src="/images/sub/tojung/tab_05.png" /></a></li>
						<li><img src="/images/sub/tojung/tab_06.png" /></li>
					</ul>
				</div>
				<!--//탭-->
				<div class="tojung_cont">
					<dl>
						<p class="name_2"><img src="/images/sub/tojung/result_stit_02.gif" alt="종합풀이설명" /></p>
						<dt><a name="tojung3"></a><img src="/images/sub/tojung/result_tit_02-1.gif" alt="연애운" /></dt>
						<dd><?=$contents['S097']['db_data']; ?></dd>
						
						<dt><img src="/images/sub/tojung/result_tit_02-2.gif" alt="애정운" /></dt>
						<dd><?=$contents['S106']['data']; ?></dd>
						
						<dt><img src="/images/sub/tojung/result_tit_02-3.gif" alt="직장운" /></dt>
						<dd><?=$contents['S108']['data']; ?></dd>
						
						<dt><img src="/images/sub/tojung/result_tit_02-4.gif" alt="건강운" /></dt>
						<dd><?=$contents['S107']['data']; ?></dd>
						
						<dt><img src="/images/sub/tojung/result_tit_02-5.gif" alt="소망운" /></dt>
						<dd><?=$contents['S109']['data']; ?></dd>
						
						<dt><img src="/images/sub/tojung/result_tit_02-6.gif" alt="이사운" /></dt>
						<dd><?=$contents['S099']['data']; ?></dd>
						
						<dt><img src="/images/sub/tojung/result_tit_02-7.gif" alt="대인운" /></dt>
						<dd><?=$contents['J005']['data']; ?></dd>
						
						<dt><img src="/images/sub/tojung/result_tit_02-8.gif" alt="처세운" /></dt>
						<dd><?=$contents['J037']['data']; ?></dd>
					</dl>
					</div>
				<p class="botline"><img src="/images/sub/tojung/result_cont_bottom.gif" /></p>
				 <!--//종합풀이-->
				 <!--그외풀이-->
				  <!--탭-->
				<div class="tab">
					<ul>
						<li><img src="/images/sub/tojung/tab_01.png" /></li>
						<li><a href="#tojung1"><img src="/images/sub/tojung/tab_02.png" /></a></li>
						<li><a href="#tojung2"><img src="/images/sub/tojung/tab_03.png" /></a></li>
						<li><a href="#tojung3"><img src="/images/sub/tojung/tab_04.png" /></a></li>
						<li><a href="#tojung4"><img src="/images/sub/tojung/tab_05.png" /></a></li>
						<li><img src="/images/sub/tojung/tab_06.png" /></li>
					</ul>
				</div>
				<!--//탭-->
				<div class="tojung_cont">
					<dl>
						<p class="name_2"><img src="/images/sub/tojung/result_stit_04.gif" alt="피해야할 상대" /></p>
						
						<dt><a name="tojung4"></a><img src="/images/sub/tojung/result_tit_03-1.gif" alt="피해야 할 띠" /></dt>
						<dd class="none">
<?
	$antis = $contents['S040']['db_keyword'];
	$anti = explode(',', $antis);
?>
							<ul class="icon">
								<li class="icon<?=$anti[0]?>">띠</li>
								<li class="icon<?=$anti[1]?>">띠</li>
							</ul>
						</dd>
						<dd><?=$contents['S040']['db_data1']; ?></dd>
						
						<dt><img src="/images/sub/tojung/result_tit_03-2.gif" alt="피해야 할 생월" /></dt>
						<dd><?=$contents['S040']['db_data2']; ?></dd>
						
					   <dt><img src="/images/sub/tojung/result_tit_03-3.gif" alt="이런 경우는 절대 피해야 한다!!" /></dt>
						<dd><?=$contents['S040']['db_data3']; ?></dd>
					</dl>
				 </div>
				 <p class="botline"><img src="/images/sub/tojung/result_cont_bottom.gif" /></p>
				 <!--//그외풀이-->
				 
				 <!--그외풀이-->
				  <!--탭-->
				<div class="tab">
					<ul>
						<li><img src="/images/sub/tojung/tab_01.png" /></li>
						<li><a href="#tojung1"><img src="/images/sub/tojung/tab_02.png" /></a></li>
						<li><a href="#tojung2"><img src="/images/sub/tojung/tab_03.png" /></a></li>
						<li><a href="#tojung3"><img src="/images/sub/tojung/tab_04.png" /></a></li>
						<li><a href="#tojung4"><img src="/images/sub/tojung/tab_05.png" /></a></li>
						<li><img src="/images/sub/tojung/tab_06.png" /></li>
					</ul>
				</div>
				<!--//탭-->
				<div class="tojung_cont">
					<dl>
						<p class="name_2"><img src="/images/sub/tojung/result_stit_05.gif" alt="행운의 숫자,색" /></p>
						<dt><img src="/images/sub/tojung/result_tit_04-1.gif" alt="행운의 숫자" /></dt>
						<dd class="lucky"><img src="/images/sub/tojung/luckynum_<?=$contents['T061']['luckNumber'] ?>.png" /></dd>
						<dd><?=$contents['T061']['db_data'] ?></dd>
						
						<dt><img src="/images/sub/tojung/result_tit_04-2.gif" alt="행운의 색" /></dt>
						<dd class="color">
<?
	$colors = $contents['T028']['db_keyword'];
	$color = explode(',', $colors);
?>
							<ul class="luckycolor">
								<li class="color<?=$color[0]?>">아이콘</li>
							</ul>
							<ul class="unluckycolor">
								<li class="color<?=$color[1]?>">아이콘</li>
							</ul>
						</dd>
					   
						<dd><?=$contents['T028']['db_data'] ?></dd>
					</dl>
				 </div>
				 <p class="botline"><img src="/images/sub/tojung/result_cont_bottom.gif" /></p>
				 <!--//그외풀이-->
				 
				 

				<!--//결과내용-->
			</div>

			<!--기능 버튼 -->
			<? include $_SERVER['DOCUMENT_ROOT'].'/include/unse/button_bar.php'; ?>
			<!--//기능 버튼 -->
		
			<!--하단컨텐츠-->
			<div class="assistant3">
				<!--함께보면좋은 운세-->
				<div class="left">
					<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/static/together.php'; ?>
				</div>
				<!--//함께보면좋은 운세-->

				<!--후기게시판-->
		 		<div class="right">
					<?php echo $INC_POSTSCRIPT_LIST ?>
				</div>
				<!--//후기게시판-->
			</div>
			<!--//하단컨텐츠-->
		</div>
		<!--// 메인컨텐츠-->

		<!--서비스배너-->
		<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/static/bn_service.php'; ?>
		<!--//서비스배너-->
	</div>
	<!--컨텐츠-->

	<!-- Footer -->
	<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/commons/main_footer.php'; ?>
	<!--// Footer -->
</div>
</body>
</html>